package com.music.service;

import com.github.pagehelper.PageInfo;
import com.music.pojo.Album;

import java.util.List;

public interface AlbumService {
    PageInfo<Album> findAlbumBySearch(String search, Integer pageNum);

    Album findAlbumDetail(Integer alid,Integer uid);

    void addFavoriteAlbum(Integer alid, Integer uid);

    void removeFavoriteAlbum(Integer alid, Integer uid);

    Integer findCollectCount(Integer alid);

    List<Album> findUserFollowSingerAlbum(Integer uid);
}
